/**
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：充值中心出入金                                                    
*│　作    者：gaotang                                              
*│　版    本：1.0   模板代码自动生成                                              
*│　创建时间：2019-02-20 15:07:13                            
*└──────────────────────────────────────────────────────────────┘
*┌──────────────────────────────────────────────────────────────┐
*│　命名空间: BestTrader.Cms.Models                                  
*│　类    名：UCInOutCash                                     
*└──────────────────────────────────────────────────────────────┘
*/
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BestTrader.Cms.Models
{
	/// <summary>
	/// gaotang
	/// 2019-02-20 15:07:13
	/// 充值中心出入金
	/// </summary>
	[Table("UCInOutCash")]
	public class UCInOutCash
	{
		/// <summary>
		/// 序号
		/// </summary>
		[Key]
        public Int32 Id { get; set; }

        /// <summary>
        /// 用户账户
        /// </summary>
        [Required]
        [MaxLength(10)]
        public Int32 UserManagerId { get; set; }
        /// <summary>
        /// 风软userid
        /// </summary>
        [MaxLength(10)]
        public Int32? RmmfUserId { get; set; }

        /// <summary>
        /// 用户银行
        /// </summary>
        [MaxLength(32)]
		public String UserBankType {get;set;}

		/// <summary>
		/// 用户开户行
		/// </summary>
		[MaxLength(16)]
		public String UserBankProvince {get;set;}

        /// <summary>
        /// 真实姓名
        /// </summary>
        [MaxLength(16)]
        public String UserRealName { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        [MaxLength(32)]
        public String UserName { get; set; }

        /// <summary>
        /// 用户卡号
        /// </summary>
        [MaxLength(32)]
		public String UserCardNo {get;set;}

		/// <summary>
		/// 管理方姓名
		/// </summary>
		[MaxLength(16)]
		public String ManagerRealName {get;set;}

		/// <summary>
		/// 管理方卡号
		/// </summary>
		[MaxLength(32)]
		public String ManagerCardNo {get;set;}

		/// <summary>
		/// 订单号
		/// </summary>
		[MaxLength(64)]
		public String OrderNo {get;set;}

		/// <summary>
		/// 金额类型
		/// </summary>
		[MaxLength(16)]
		public String MoneyType {get;set;}

		/// <summary>
		/// 金额
		/// </summary>
		[MaxLength(18)]
		public Decimal? Money {get;set;}

        /// <summary>
		/// 执行汇率
		/// </summary>
		[MaxLength(18)]
        public Decimal?  ExchangeRate { get; set; }

        /// <summary>
        /// RMB金额
        /// </summary>
        [MaxLength(18)]
		public Decimal? RMBMoney {get;set;}

		/// <summary>
		/// 审核时间
		/// </summary>
		[MaxLength(23)]
		public DateTime? AuditTime {get;set;}

		/// <summary>
		/// 状态（出金： 0：待审核；1：审核通过；2：审核失败；）（入金： 0：待审核；1：入金完成；2：入金失败；3：入金待付款；）
		/// </summary>
		[Required]
		[MaxLength(10)]
		public Int32 State {get;set;}

		/// <summary>
		/// 出入金类型： 1.出金；2.线下入金； 3.线上入金；
		/// </summary>
		[MaxLength(10)]
		public Int32? CashType {get;set;}

		/// <summary>
		/// 出入金方式： 1.线下； 2. 支付宝； 3.银行卡；
		/// </summary>
		[MaxLength(10)]
		public Int32? CashModel {get;set;}

		/// <summary>
		/// IP地址
		/// </summary>
		[MaxLength(16)]
		public String IP {get;set;}

		/// <summary>
		/// 备注
		/// </summary>
		[MaxLength(256)]
		public String Remark {get;set;}

		/// <summary>
		/// 添加人
		/// </summary>
		[Required]
		[MaxLength(10)]
		public Int32 AddManagerId {get;set;}

		/// <summary>
		/// 添加时间
		/// </summary>
		[Required]
		[MaxLength(23)]
		public DateTime AddTime {get;set;}

		/// <summary>
		/// 修改人
		/// </summary>
		[MaxLength(10)]
		public Int32? ModifyManagerId {get;set;}

		/// <summary>
		/// 修改时间
		/// </summary>
		[MaxLength(23)]
		public DateTime? ModifyTime {get;set;}

		/// <summary>
		/// 是否删除
		/// </summary>
		[Required]
		[MaxLength(1)]
		public Boolean IsDelete {get;set;}


	}
}
